Skip to content

Improve CI/CD workflows (and support merge queues)#45

Merged
HappyPaul55 merged 2 commits intomainfrom
improve-cd-cd-workflows
May 21, 2025
Merged

Improve CI/CD workflows (and support merge queues)#45
HappyPaul55 merged 2 commits intomainfrom
improve-cd-cd-workflows

Conversation

@HappyPaul55
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2025 12:16
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the CI/CD workflows to streamline releases, builds, and deployments while adding support for merge queues. Key changes include:

  • Introduction of new subworkflows for release, deploy, and build operations.
  • Addition of main_merge and feature_build workflows to support merge queues.
  • Removal of outdated pr_build and branch_build workflows.

Reviewed Changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/subworkflow-release.yml Adds a release workflow that creates a safe package and conditionally deploys to Deskpro Infrastructure.
.github/workflows/subworkflow-deploy.yml Defines a deploy workflow using Docker SSH context and container operations.
.github/workflows/subworkflow-build.yml Introduces a build workflow that handles linting, testing, building, and tagging of the project.
.github/workflows/main_merge.yml Integrates build and release operations into a main merge workflow.
.github/workflows/feature_build.yml Adds a feature build workflow supporting merge queues for pull requests.
.github/workflows/pr_build.yml Removed outdated PR build workflow.
.github/workflows/branch_build.yml Removed outdated branch build workflow.

working-directory: app-package
run: |
packageFilename=`jq -r .name manifest.json | iconv -t ascii//TRANSLIT | sed -r s/[~\^]+//g | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z`
mv app.zip $packageFilename.zip
Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider quoting the target filename to handle potential spaces in the variable value, for example: mv app.zip "$packageFilename.zip".

Suggested change
mv app.zip $packageFilename.zip
mv app.zip "$packageFilename.zip"

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

@HappyPaul55 HappyPaul55 merged commit 0806a6d into main May 21, 2025
5 checks passed
@HappyPaul55 HappyPaul55 deleted the improve-cd-cd-workflows branch May 21, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants